package cn.walls1717.wallsmall.product.dao;

import cn.walls1717.wallsmall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 * 
 * @author walls1717
 * @email walls1717@163.com
 * @date 2022-10-21 11:26:47
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    /**
     * 根据attrId集合查找检索属性的attrId
     *
     * @param attrIds attrIds
     * @return 检索属性的attrId集合
     */
    List<Long> listSearchAttrIdsByAttIds(@Param("attrIds") List<Long> attrIds);
}
